﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改密码</title>
<%@ include file="config.jsp"%>
<%@ include file="validate.jsp"%>
<script type="text/javascript">
$(document).ready(function() {
	$("#saveChangePassword").validate();
});
</script>
</head>

<body>
    <div class="subnav" align="left">
           <table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td width="100%" align="left" height="31">&nbsp;<img src="common/images/title-pk.gif" border="0"  align="absmiddle"/>&nbsp;<span class="subnavtxt1">用户管理</span>
			&nbsp;<img src="common/images/leftico2.gif" border="0"  align="absmiddle"/>&nbsp;<span class="subnavtxt2">修改密码</span></td>
		  </tr>
		</table>
      </div>
      <s:actionmessage />
      <s:actionerror cssStyle="color:red"/>
     <div class="main_1">
     <s:form action="saveChangePassword" theme="simple">
       <s:hidden name="userId" value="%{#session.userinfo.id}"/>
       <table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="#D3DEEF">
         <tr>
           <td bgcolor="#FAFAFA">
            <table width="100%" border="0" cellpadding="5" cellspacing="1"  >
             <tr>
               <td width="13%" class="gr-text1"><div align="right"><strong>旧密码</strong></div></td>
               <td width="87%" align="left">
                 <s:password name="oldPassword" size="20" cssClass="{required:true,maxlength:20}"/><span class="red-text1">*</span>
               </td>
             </tr>
			 <tr>
				   <td class="gr-text1"><div align="right"><strong>新密码</strong></div></td>
	               <td align="left">
	                <s:password id="user_password" name="password" size="20" cssClass="{required:true,maxlength:20}"/><span class="red-text1">*</span>
	               </td>
			 </tr>
			 <tr>
				   <td class="gr-text1"><div align="right"><strong>确认密码</strong></div></td>
	               <td align="left">
	                <input type="password" size="20" class='{required:true,maxlength:20,equalTo:"#user_password"}' /><span class="red-text1">*</span>
	               </td>
			 </tr>
             <tr>
               <td valign="top"></td>
               <td align="left">
               	 <s:submit value="保存" cssClass="input1" />
               </td>
             </tr>
             
           </table></td>
         </tr>
       </table>
     </s:form>
     </div>
     <div class="clear"></div>

</body>
</html>
